package com.example.fw;

import org.netbeans.jemmy.operators.JMenuBarOperator;

public class MenuHelper extends HelperBase{

	public MenuHelper(ApplicationManager manager) {
		super(manager);
	}

	public void pushCreateFolder() {
		pushMenuItem("File|New folder...");	
	}

	public void pushDeleteFolder() {
		pushMenuItem("File|Delete");	
	}

	private void pushMenuItem(String menuItem) {
		JMenuBarOperator menu = new JMenuBarOperator(manager.getApplication());		
		menu.pushMenuNoBlock(menuItem);
	}

}
